package com.project.class4_11.watch;

public class Proxy1 implements IWatch{
    private double price;
    @Override
    public void update(Object newObject) {
        Double d= (Double) newObject;
        this.price=d*1.2;
    }
    public Double getPrice(){
        return this.price;
    }
}
